Analysis of Sequential SLG Evaluation

نویسندگان

  • Terrance Swift
  • David S. Warren
چکیده

SLG is a table-oriented resolution method that has the ability to combine the deductive database and logic programming paradigms. As an example of its applicability to deductive databases, SLG terminates and has polynomial data complexity for programs with nite models. In terms of the logic programming (and non-monotonic) paradigms, SLG computes the well-founded model for non-stratiied programs, and has been extended to compute 3-valued stable model semantics. This paper presents performance analysis and comparisons of the SLG-WAM, an abstract machine for executing SLG. Firstly, the results indicate that the overhead of the SLG-WAM compared to a similar WAM implementation is minimal for executing SLD programs. Furthermore, results are presented to indicate tradeoos between SLD and SLG evaluation for a variety of programs. Surprisingly , SLG derivation may be expected to be competitive with SLD derivation on numerous datalog programs, even when SLD terminates and contains no redundant subcomputations. Finally, performance comparisons indicate that the SLG-WAM is about an order of magnitude faster than current deductive database systems even for datalog queries. These results call into question traditional arguments about top-down versus bottom-up evaluation eeciency, and may provide information of use in designing and implementing the next generation of logic programming and deductive database systems.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Performance of Sequential SLG Evaluation

SLG is a table-oriented resolution method that is gaining increasing attention due to its ability to combine the deductive database and logic programming paradigms. As an example of its applicability to deductive databases, SLG is asymptotically equivalent to magic template evaluations over the class of deenite programs. In terms of the logic programming (and non-monotonic) paradigms, SLG compu...

متن کامل

Parallelizing Tabled Evaluations

SLG is a table-oriented resolution method that extends SLD evaluation in two ways. It computes, with polynomial data complexity, the well-founded model for logic programs with negation and it terminates for programs with the bounded-term-size property. Furthermore SLG has an eecient sequential implementation for left-to-right modularly stratiied programs in the SLG-WAM of XSB 13]. This paper ad...

متن کامل

Parallelizing Tabled Evaluations (Extended Abstract)

SLG is a table-oriented resolution method that extends SLD evaluation in two ways. It computes the well-founded model for logic programs with negation with polynomial data complexity, and it terminates for programs with the bounded-term-size property. Furthermore SLG has an ef-cient sequential implementation for modularly stratiied programs in the SLG-WAM of XSB. This paper addresses general is...

متن کامل

Analysis of SLG-WAM Evaluation of Definite Programs

SLG is a table-oriented resolution method that combines the deduc-tive database and logic programming paradigms. SLG is applicable to de-ductive databases since it terminates and has polynomial data complexity for programs with nite models. In terms of the logic programming (and non-monotonic) paradigms, SLG computes the well-founded model for non-stratiied programs, and has been extended to co...

متن کامل

Concurrent and Local Evaluation of Normal Programs

Tabled evaluations can incorporate a number of features, including tabled negation, reduction with respect to the well-founded model, tabled constraints and answer subsumption. Many of these features are most efficiently evaluated using the Local evaluation strategy, which fully evaluates each mutually dependent set of tabled subgoals before returning answers to other subgoals outside of that s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994